// 表单序列化
export const serialize = (data:any) => {
  const list:Array<any> = []
  Object.keys(data).forEach(ele => {
    list.push(`${ele}=${data[ele]}`)
  })
  return list.join('&')
}
